home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
mxcode
/
tnypl211
/
makefile
< prev
next >
Wrap
Makefile
|
1994-06-21
|
2KB
|
59 lines
##############################################################################
# 16/32-bit Protected Mode Tiny MOD Player Version 2.11 #
# for Watcom C/C++32 and DOS/4GW DOS Extender #
# and Borland C++ 3.1 C Compiler #
##############################################################################
# Makefile for Watcom C/C++32 and Borland C++ Examples #
##############################################################################
# For Borland C++ 3.1 use: #
# MAKE -DBORLANDC #
# And for Watcom C/C++32 and DOS/4GW use: #
# WMAKE WATCOMC= #
##############################################################################
!ifdef BORLANDC
CC=bcc.exe
LN=bcc.exe
AS=tasm.exe
COPT=-3 -ml -c -G -O -O2pbgeicvmla
LOPT=-l3
AOPT=-m -q -ml -p -t -jsmart
!else
!ifdef WATCOMC
CC=wcc386.exe
LN=wcl386.exe
AS=tasm.exe
COPT=-3r -zq -mf -oacilrt -s
LOPT=-zq
AOPT=-m -q -ml -p -t -jsmart
!else
!error You must specify WATCOMC or BORLANDC target.
!endif
!endif
!ifdef BORLANDC
EXM=ex0.exe ex2.exe
OBJ=modload.obj modpl16.obj
!else
EXM=ex0.exe ex1.exe ex2.exe
OBJ=modload.obj modplay.obj
!endif
makefile : $(EXM)
@echo Done.
ex0.exe: ex0.obj $(OBJ)
$(LN) $(LOPT) ex0.obj $(OBJ)
ex1.exe: ex1.obj ex1a.obj ex1b.obj $(OBJ)
$(LN) $(LOPT) ex1.obj ex1a.obj ex1b.obj $(OBJ)
ex2.exe: ex2.obj $(OBJ)
$(LN) $(LOPT) ex2.obj $(OBJ)
.c.obj:
$(CC) $(COPT) $<
.asm.obj:
$(AS) $(AOPT) $<